package com.xyz.entity.mapper;

import com.xyz.entity.pojo.PartStock;
import com.xyz.entity.pojo.PartStockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PartStockMapper {
    long countByExample(PartStockExample example);

    int deleteByExample(PartStockExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PartStock record);

    int insertSelective(PartStock record);

    List<PartStock> selectByExample(PartStockExample example);

    PartStock selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PartStock record, @Param("example") PartStockExample example);

    int updateByExample(@Param("record") PartStock record, @Param("example") PartStockExample example);

    int updateByPrimaryKeySelective(PartStock record);

    int updateByPrimaryKey(PartStock record);
}